{% extends "base.html"%}
 {% block head %}
<div class="life_info">
<article>
<h2 class="title_tj">
    <p>文章<span>推荐</span><h6>点击标题继续阅读</h6></p>
  </h2>
<div class="bloglist left">
{% for i in cats %}
    <div class="title">
    <ul class="nlist">
        <a href="/info_detail/{{ i.aid }}/"><h4 class="t_nav"><span>《{{ i.title }}》</span></h4></a>
        <p>{{ i.detail|safe|slice:":200"}}...</p>
            <p class="dateview"><span>发布时间：{{ info.edit_time}}</span><span>作者：苹果</span><span>~标签~：[<a href="/my_cat/">{{ i.category_name }}</a>]</span><span><a href="#">评论</a></span></p>
    </ul>
    </div>
{% endfor %}
</div>
     <aside class="right">
         <div class="rnav">
      <ul>
       <li class="rnav1"><a href="/download/" target="_blank">日记</a></li>
       <li class="rnav2"><a href="/newsfree/" target="_blank">程序</a></li>
       <li class="rnav3"><a href="/web/" target="_blank">欣赏</a></li>
       <li class="rnav4"><a href="/newshtml5/" target="_blank">祝福</a></li>
     </ul>
    </div>
{#    <div class="weather"><iframe width="250" scrolling="no" height="60" frameborder="0" allowtransparency="true" src="http://i.tianqi.com/index.php?c=code&id=12&icon=1&num=1"></iframe></div>#}
    <div class="news">
    <h3>
      <p>最新<span>文章</span></p>
    </h3>
    <ul class="rank">
          {% for title in new_title %}
      <li>
          <a href="/info_detail/{{ title.aid }}/" title="{{ title.title }}" target="_blank">{{ title.title }}</a>
      </li>
        {% endfor %}
    </ul>
    <h3 class="ph">
      <p>点击<span>排行</span></p>
    </h3>
    <ul class="paih">
        {% for i in count_title %}
        <li>
          <a href="/info_detail/{{ i.aid }}/" title="{{ i.title }}" target="_blank">{{ i.title }}</a>
      </li>
        {% endfor %}
    </ul>
    <h3 class="links">
      <p>友情<span>链接</span></p>
    </h3>
    <ul class="website">
      <li><a href="/">个人博客</a></li>
      <li><a href="/">mao</a></li>
      <li><a href="/">nfsd</a></li>
      <li><a href="/">njf</a></li>
    </ul>
    </div>
</article>
<script src="../static/js/silder.js"></script>
<head>
    <meta charset="UTF-8">
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"
            integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
            crossorigin="anonymous"></script>
</head>
<body>
<div class="container">
{#      # 分页样式#}
        <div class="col-md-6 col-md-offset-3">
            <ul class="pagination pagination-sm">
{#                {{ page_obj.page_html|safe }}#}
            </ul>
        </div>
    </div>
</body>

{% endblock %}
